package com.threeti.mecool.mobile.interfaces.dto;

import java.io.Serializable;
import java.util.List;

import org.dozer.Mapping;
import org.hibernate.validator.constraints.NotEmpty;

import com.threeti.mecool.framework.util.Lists;

public class SellIntoDto implements Serializable {
  
  @Mapping("id")
  private String sellIntoId;
  
  @Mapping("user.id")
  @NotEmpty
  private String userId;
  
  @Mapping("projectStore.id")
  @NotEmpty
  private String projStoreId;
  
  private int status;
  
  private int tgStockBaseDesc;
  
  private int executionStatus;
  
  @Mapping("problem.type")
  private int problemType;
  
  @Mapping("problem.description")
  private String problemDescription;
  
  private String description;
  
  private String lastModified;
  
  private List<SalesPromoterDto> salesPromoters = Lists.newArrayList();

  public SellIntoDto(String userId, String projStoreId, int status, int tgStockBaseDesc, int executionStatus, int problemType,
      String problemDescription, String description, String lastModified) {
    super();
    this.userId = userId;
    this.projStoreId = projStoreId;
    this.status = status;
    this.tgStockBaseDesc = tgStockBaseDesc;
    this.executionStatus = executionStatus;
    this.problemType = problemType;
    this.problemDescription = problemDescription;
    this.description = description;
    this.lastModified = lastModified;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public String getSellIntoId() {
    return sellIntoId;
  }

  public void setSellIntoId(String sellIntoId) {
    this.sellIntoId = sellIntoId;
  }

  public String getProjStoreId() {
    return projStoreId;
  }

  public void setProjStoreId(String projStoreId) {
    this.projStoreId = projStoreId;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public int getTgStockBaseDesc() {
    return tgStockBaseDesc;
  }

  public void setTgStockBaseDesc(int tgStockBaseDesc) {
    this.tgStockBaseDesc = tgStockBaseDesc;
  }

  public int getExecutionStatus() {
    return executionStatus;
  }

  public void setExecutionStatus(int executionStatus) {
    this.executionStatus = executionStatus;
  }

  public int getProblemType() {
    return problemType;
  }

  public void setProblemType(int problemType) {
    this.problemType = problemType;
  }

  public String getProblemDescription() {
    return problemDescription;
  }

  public void setProblemDescription(String problemDescription) {
    this.problemDescription = problemDescription;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getLastModified() {
    return lastModified;
  }
  
  public void setLastModified(String lastModified) {
    this.lastModified = lastModified;
  }

  public List<SalesPromoterDto> getSalesPromoters() {
    return salesPromoters;
  }

  public void setSalesPromoters(List<SalesPromoterDto> salesPromoters) {
    this.salesPromoters = salesPromoters;
  }

  public SellIntoDto() {
  }
  
  
}
